package com.beamfield.dao.lab;

import com.beamfield.model.LabHtfhntqd;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LabHtfhntqdMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LabHtfhntqd record);

    int insertSelective(LabHtfhntqd record);

    LabHtfhntqd selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LabHtfhntqd record);

    int updateByPrimaryKey(LabHtfhntqd record);

    List<String> selectBiaoduanBybeamId(Long beamId);

    List<LabHtfhntqd> getHuitanfaList(@Param("beamId") Long beamId, @Param("bid") String bid, @Param("offset") String offset, @Param("limit") String limit,@Param("startDate") String startDate,@Param("endDate") String endDate);

    int countHuitanfaList(@Param("beam_id") Long beam_id, @Param("bid") String bid, @Param("startDate") String startDate, @Param("endDate") String endDate);
}